<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="g" uri="/g-tags"%>
<script type="text/javascript"> 
<!--//---------------------------------+
//  Developed by Roshan Bhattarai 
//  Visit http://roshanbh.com.np for this script and more.
//  This notice MUST stay intact for legal use
// --------------------------------->
$(document).ready(function()
{
	//slides the element with class "menu_body" when paragraph with class "menu_head" is clicked 
	$("#accordion div.accordion_header").click(function(){
		$(this).next("div.accordion_body").slideToggle(300).siblings("div.accordion_body").slideUp("slow");
       	//$(this).siblings();
	});
});
</script>


<!--折叠面板-->
<div class="accordion" id="accordion">

	<div class="accordion_header">
        <div class="accordion_ctrl_icon icon_expand_s"></div>
        <h2>
            <div class="icon icon_page"></div>
            我的办公桌
        </h2>
    </div>
    <div class="accordion_body" style="display:block">
       
        <ul class="colnav">
            <li onclick='menuTarget("leave/leave!main.shtml")'>
            	<a class="title" href="#"><div class="icon icon_page"></div>
            	请假列表</a> 
            </li>
            <li onclick='menuTarget("test1.jsp")'>
	            <a class="title" href="#"><div class="icon icon_page"></div>
	              车辆使用列表</a>
            </li>
        </ul>
    </div>
	
    <div class="accordion_header">
        <div class="accordion_ctrl_icon icon_expand_s"></div>
        <h2>
            <div class="icon icon_page"></div>
            用车管理
        </h2>
    </div>
    <div class="accordion_body" style="display:block">
       
        <ul class="colnav">
            <li onclick='menuTarget("index.jsp")'>
            	<a class="title" href="#"><div class="icon icon_page"></div>
            	车辆列表</a> 
            </li>
            <li onclick='menuTarget("test1.jsp")'>
	            <a class="title" href="#"><div class="icon icon_page"></div>
	              车辆使用记录</a>
            </li>
            <li onclick='menuTarget("http://www.baidu.com")'>
            <a class="title" href="#"><div class="icon icon_page"></div>车辆保养</a>
            </li>
        </ul>
    </div>
    
  
    <g:auth>
    <div class="accordion_header">
        <h2><div class="icon icon_page"></div>
        	用户权限管理</h2>
    </div>
    <div class="accordion_body">
        <ul class="colnav">
            <li onclick='menuTarget("user/user!main.shtml")'><a class="title" href="#">用户管理</a></li>
            <li onclick='menuTarget("role/role!main.shtml")'><a class="title" href="#">角色管理</a></li>
            <g:auth url="group/group!main.shtml">
            <li onclick='menuTarget("group/group!main.shtml")'><a class="title" href="#">组织结构</a></li>
        	</g:auth>
        </ul>
    </div>
    </g:auth>
    <div class="accordion_header">
        <h2><div class="icon icon_page"></div>
        	系统管理</h2>
    </div>
    <div class="accordion_body">
        <ul class="colnav">
            <li onclick='menuTarget("user/user!main.shtml")'><a class="title" href="#">数据字典</a></li>
            <li><a class="title" href="#">系统设置</a></li>
            <li><a class="title" href="#">审核权限</a></li>
            <li><a class="title" href="#">权限管理</a></li>
        </ul>
    </div>
    
</div>
<!--折叠面板 end-->
